<?php
    include('./library/conn.php');

    $account =$_REQUEST['account'];
    $password=$_REQUEST['password'];

    $sel="select * from user where account='$account'";

    $res = $mysql->query($sel);
    

    $row = $res->fetch_assoc();
        
    echo json_encode($row);

?>